package com.yueyang.sojourn.server.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * t_merch_share 分销
 * @author 
 */
@Data
@ApiModel("分销")
public class Share implements Serializable {

    @ApiModelProperty("分销id")
    private Long id;

    @ApiModelProperty("商品id")
    private Long merchId;

    @ApiModelProperty("分销人id")
    private Long userId;

    @ApiModelProperty("分销小程序码文件名")
    private String shareImg;

    @ApiModelProperty("创建时间")
    private Date ctime;

    @ApiModelProperty("状态 0:无效 1:有效")
    private Integer state;

    @ApiModelProperty("访问数")
    private int visitCount;

    @ApiModelProperty("注册数")
    private int registCount;

    @ApiModelProperty("订单数")
    private int orderCount;

    @ApiModelProperty("成交数")
    private int dealCount;

    private static final long serialVersionUID = 1L;
}